<@page.html title="采购入库汇总">
<script type="text/javascript" src="${_appPath!}/js/cal.js"></script>
  <div class="search">
    <form id="fm_query" action="_list">
      <dl>
        <dt>门店</dt>
        <dd><script>shopsel('shopCode');</script></dd>
        <dt>供应商</dt>
        <dd><select name="providerCode"><option value="">全部</option><#if providerList??><#list providerList as t><option value="${t.id}">${t.id} - ${t.name}</option></#list></#if></select></dd>
        <dt>OA订单号</dt>
        <dd><input type="text" name="oaOrderId" value="" size="10" maxlength="20"></dd>
      </dl>
      <dl>
        <dt>日期</dt>
        <dd><input type="text" class="date" name="dateFrom" value="" onfocus="cal(this);" />
          ~ <input type="text" class="date" name="dateTo" value="" onfocus="cal(this);" /></dd>
        <dd class="button"><input type="button" value="查询" onclick="query();"></dd>
        <#if canExpt??><dd class="button"><input type="button" value="导出" onclick="expt();"></dd></#if>
      </dl>
    </form>
  </div>
  <div id="div_list"></div>
<script type="text/javascript">query();</script>
</@page.html>